﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSetSlowestTimerJobs" targetNamespace="http://tempuri.org/DataSetSlowestTimerJobs.xsd" xmlns:mstns="http://tempuri.org/DataSetSlowestTimerJobs.xsd" xmlns="http://tempuri.org/DataSetSlowestTimerJobs.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="SharePointOptimizerConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SharePointOptimizerConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.SharePointOptimizer.PL.WPF.Properties.Settings.GlobalReference.Default.SharePointOptimizerConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SlowestTimerJobsTableAdapter" GeneratorDataComponentClassName="SlowestTimerJobsTableAdapter" Name="SlowestTimerJobs" UserDataComponentName="SlowestTimerJobsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SharePointOptimizerConnectionString (Settings)" DbObjectName="SharePointOptimizer.dbo.SlowestTimerJobs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT MaxDuration, AvgDuration, MinDuration, AvgQueryCount, MinQueryCount, MaxQueryCount, TotalPageHits, Name, Server FROM dbo.SlowestTimerJobs
ORDER BY MaxDuration</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="AvgDuration" DataSetColumn="AvgDuration" />
              <Mapping SourceColumn="MinDuration" DataSetColumn="MinDuration" />
              <Mapping SourceColumn="AvgQueryCount" DataSetColumn="AvgQueryCount" />
              <Mapping SourceColumn="MinQueryCount" DataSetColumn="MinQueryCount" />
              <Mapping SourceColumn="MaxQueryCount" DataSetColumn="MaxQueryCount" />
              <Mapping SourceColumn="TotalPageHits" DataSetColumn="TotalPageHits" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Server" DataSetColumn="Server" />
              <Mapping SourceColumn="MaxDuration" DataSetColumn="MaxDuration" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DataSetSlowestTimerJobs" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="DataSetSlowestTimerJobs" msprop:Generator_UserDSName="DataSetSlowestTimerJobs">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="SlowestTimerJobs" msprop:Generator_TableClassName="SlowestTimerJobsDataTable" msprop:Generator_TableVarName="tableSlowestTimerJobs" msprop:Generator_TablePropName="SlowestTimerJobs" msprop:Generator_RowDeletingName="SlowestTimerJobsRowDeleting" msprop:Generator_UserTableName="SlowestTimerJobs" msprop:Generator_RowChangingName="SlowestTimerJobsRowChanging" msprop:Generator_RowEvHandlerName="SlowestTimerJobsRowChangeEventHandler" msprop:Generator_RowDeletedName="SlowestTimerJobsRowDeleted" msprop:Generator_RowEvArgName="SlowestTimerJobsRowChangeEvent" msprop:Generator_RowChangedName="SlowestTimerJobsRowChanged" msprop:Generator_RowClassName="SlowestTimerJobsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="AvgDuration" msprop:Generator_ColumnVarNameInTable="columnAvgDuration" msprop:Generator_ColumnPropNameInRow="AvgDuration" msprop:Generator_ColumnPropNameInTable="AvgDurationColumn" msprop:Generator_UserColumnName="AvgDuration" type="xs:long" minOccurs="0" />
              <xs:element name="MinDuration" msprop:Generator_ColumnVarNameInTable="columnMinDuration" msprop:Generator_ColumnPropNameInRow="MinDuration" msprop:Generator_ColumnPropNameInTable="MinDurationColumn" msprop:Generator_UserColumnName="MinDuration" type="xs:long" minOccurs="0" />
              <xs:element name="AvgQueryCount" msprop:Generator_ColumnVarNameInTable="columnAvgQueryCount" msprop:Generator_ColumnPropNameInRow="AvgQueryCount" msprop:Generator_ColumnPropNameInTable="AvgQueryCountColumn" msprop:Generator_UserColumnName="AvgQueryCount" type="xs:int" minOccurs="0" />
              <xs:element name="MinQueryCount" msprop:Generator_ColumnVarNameInTable="columnMinQueryCount" msprop:Generator_ColumnPropNameInRow="MinQueryCount" msprop:Generator_ColumnPropNameInTable="MinQueryCountColumn" msprop:Generator_UserColumnName="MinQueryCount" type="xs:int" minOccurs="0" />
              <xs:element name="MaxQueryCount" msprop:Generator_ColumnVarNameInTable="columnMaxQueryCount" msprop:Generator_ColumnPropNameInRow="MaxQueryCount" msprop:Generator_ColumnPropNameInTable="MaxQueryCountColumn" msprop:Generator_UserColumnName="MaxQueryCount" type="xs:int" minOccurs="0" />
              <xs:element name="TotalPageHits" msprop:Generator_ColumnVarNameInTable="columnTotalPageHits" msprop:Generator_ColumnPropNameInRow="TotalPageHits" msprop:Generator_ColumnPropNameInTable="TotalPageHitsColumn" msprop:Generator_UserColumnName="TotalPageHits" type="xs:int" minOccurs="0" />
              <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Server" msprop:Generator_ColumnVarNameInTable="columnServer" msprop:Generator_ColumnPropNameInRow="Server" msprop:Generator_ColumnPropNameInTable="ServerColumn" msprop:Generator_UserColumnName="Server" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MaxDuration" msprop:Generator_ColumnVarNameInTable="columnMaxDuration" msprop:Generator_ColumnPropNameInRow="MaxDuration" msprop:Generator_ColumnPropNameInTable="MaxDurationColumn" msprop:Generator_UserColumnName="MaxDuration" type="xs:long" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SlowestTimerJobs" />
      <xs:field xpath="mstns:Name" />
    </xs:unique>
  </xs:element>
</xs:schema>